﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;

using DQYT.HTDZ.BLL;
using DQYT.HTDZ.Model;

namespace DQYT.HTDZ.Web.BDDTWELL
{
    public partial class Show : Page
    {        
        public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					decimal ID=(Convert.ToDecimal(strid));
					ShowInfo(ID);
				}
			}
		}
		
	private void ShowInfo(decimal ID)
	{
		BDDTWELLBLL bll=new BDDTWELLBLL();
		BDDTWELLModel model=bll.GetModel(ID);
		this.lblID.Text=model.ID.ToString();
		this.lblWELLID.Text=model.WELLID;
		this.lblJCRQ.Text=model.JCRQ.ToString();
		this.lblBX.Text=model.BX.ToString();
		this.lblCC.Text=model.CC.ToString();
		this.lblCCI.Text=model.CCI.ToString();
		this.lblRCYL.Text=model.RCYL.ToString();
		this.lblHS.Text=model.HS.ToString();
		this.lblRCYOL.Text=model.RCYOL.ToString();
		this.lblDYM.Text=model.DYM.ToString();
		this.lblCMD.Text=model.CMD.ToString();
		this.lblYY.Text=model.YY.ToString();
		this.lblTY.Text=model.TY.ToString();
		this.lblCYFS.Text=model.CYFS;
		this.lblBJ.Text=model.BJ;

	}


    }
}
